package java56_2;

import java.util.Scanner;

public class Personal {

	public static void main(String[] args) {
		// 演示输入数据
		Scanner in = new Scanner(System.in);
		System.out.println("请输入你的年龄：");
		int age;
		age = in.nextInt();
		System.out.println("输入你的工作年限：");
		int workYear = in.nextInt();
		System.out.println("请输入你的姓名：");
		String name = in.next();
		System.out.println("您的名字叫" + name);
		System.out.println("年龄是" + age + ",工作年限是" + workYear);
	}

}
